package com.jishaokang.dao;

import com.jishaokang.model.dto.Comment;
import com.jishaokang.model.vo.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by NANA_Final on 2019/6/21.
 */
@Repository
public interface CommentDAO {
    void insert(Comment comment);

    void delete(Integer commentId);

    List<CommentVO> select(Comment comment);

    int selectTotal(Comment comment);
}
